package org.sob.blog.controller.admin;

import org.sob.blog.pojo.FriendLink;
import org.sob.blog.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin/friend_link")
public class FriendLinkApi {
    @PostMapping
    public ResponseResult addFrindLink(@RequestBody FriendLink friendLink) {
        return null;
    }

    @DeleteMapping("/{frindLinkId}")
    public ResponseResult deleteFrindLink(@PathVariable("frindLinkId") String frindLinkId) {
        return  null;
    }

    @PutMapping("/{frindLinkId}")
    public ResponseResult updateFrindLink(@PathVariable("frindLinkId") String frindLinkId) {
        return null;
    }

    @GetMapping("/{frindLinkId}")
    public ResponseResult getFrindLink(@PathVariable("frindLinkId") String frindLinkId) {
        return  null;
    }

    @GetMapping("/list")
    public ResponseResult listFrindLinks(@RequestParam("page") int page, @RequestParam("size") int size) {
        return  null;
    }
}
